﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Xamarin.Forms;
using Xamarin.Forms.Xaml;

namespace JWXH.XH
{
	[XamlCompilation(XamlCompilationOptions.Compile)]
	public partial class TestPage : ContentPage
	{
        public TestPage ()
        {
            InitializeComponent ();
            BindingContext = this;
            App.NavPage.BarBackgroundColor = Color.Aqua;
            App.NavPage.BarTextColor = Color.White;
        }

	    protected override void OnAppearing()
	    {
	        base.OnAppearing();
            App.NavPage.BarTextColor = Color.White;
            Debug.WriteLine("OnAppearing TestPage");
	    }

	    protected override void OnDisappearing()
	    {
	        base.OnDisappearing();
            App.NavPage.BarTextColor = Color.Black;
            Debug.WriteLine("OnDisappearing TestPage");
        }
	}
}